package com.bean;

import org.springframework.stereotype.Component;

@Component
public class MoAttack {
    public MoAttack(GeLi geLi) {
        this.geLi = geLi;
    }

    private GeLi geLi;

    public MoAttack() {
    }

    public void cityGateAsk() {
        System.out.println("梁国守军问：来者何人？");
        geLi.responseAsk("墨者革离！");
    }

    public GeLi getGeLi() {
        return geLi;
    }

    public void setGeLi(GeLi geLi) {
        this.geLi = geLi;
    }
}
